<template>
  <j-select-biz-component :width="1000" v-bind="configs" :multiple="false" v-on="$listeners"/>
</template>

<script>
  import JSelectBizComponent from './JSelectBizComponent3Haocai'

  export default {
    name: 'JSelectPosition',
    components: { JSelectBizComponent },
    props: ['value'],
    data() {
      return {
        settings: {
          name: '患者',
          displayKey: 'code',
          pamaName:'keyword',
          returnKeys: ['id', 'code'],
          listUrl: 'wh/patient/selectPatientPage',
          queryParamCode: ['keyword'],
          queryParamText: ['关键字'],
          buttons:true,
          columns: [
            { title: '医保编码', dataIndex: 'medicalCatalogCode', align: 'center', width: '55%' },
            { title: '医保名称', dataIndex: 'medicalCatalogName', align: 'center', width: '45%' },
          ]
        }
      }
    },
    computed: {
      configs() {
        return Object.assign({ value: this.value }, this.settings, this.$attrs)
      }
    }
  }
</script>

<style lang="less" scoped></style>